using System;
using System.Collections.Generic;
using System.Text;

namespace MeetingRoom.Data
{
    public interface GenericDAO<T>
    {
        T FindById(object id, bool locking);

        List<T> FindAll();

        List<T> FindByExample(T exampleInstance);

        T Save(T entity);

        void Remove(T entity);
    }
}
